CC = arm-linux-gcc 
TARGET = All
OBJECT = main.o

$(TARGET):$(OBJECT)
	$(MAKE) -C driver
	$(CC) $(OBJECT) -o main
$(OBJECT):main.c
	$(CC) -c main.c -o $(OBJECT)
clean:
	rm *.o main
	$(MAKE) -C driver clean
